//
//  LYDPopViewController.h
//  HAODE
//
//  Created by LiYinDi on 16/3/18.
//  Copyright © 2016年 reabam.com. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol LYDPopViewControllerDelegate;
@interface LYDPopViewController : UIViewController
@property(nonatomic,weak) id<LYDPopViewControllerDelegate> delegate;
@property (weak, nonatomic) IBOutlet UIButton *topAlphaBtn;
@property (weak, nonatomic) IBOutlet UIButton *cancelBtn;
@property (weak, nonatomic) IBOutlet UIView *parentView;

@property (weak, nonatomic) IBOutlet UIImageView *productImageView;
@property (weak, nonatomic) IBOutlet UILabel *countBackGroundLabel;
@property (weak, nonatomic) IBOutlet UILabel *countLabel;
@property (weak, nonatomic) IBOutlet UILabel *productNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;
@property (weak, nonatomic) IBOutlet UILabel *stockLabel;
@property (weak, nonatomic) IBOutlet UILabel *productImageBottomLineLabel;

@property (weak, nonatomic) IBOutlet UIView *specParentView;
@property (weak, nonatomic) IBOutlet UIScrollView *specScrollView;
@property (weak, nonatomic) IBOutlet UIView *specScrollContentView;
@property (weak, nonatomic) IBOutlet UIView *colorView;
@property (weak, nonatomic) IBOutlet UIView *sizeView;

@property (weak, nonatomic) IBOutlet UIView *countParentView;
@property (weak, nonatomic) IBOutlet UILabel *countParentTopLine;
@property (weak, nonatomic) IBOutlet UILabel *countParentBottomLine;

@property (weak, nonatomic) IBOutlet UIView *countView;
@property (weak, nonatomic) IBOutlet UIButton *subtractCountBtn;
@property (weak, nonatomic) IBOutlet UIButton *addCountBtn;
@property (weak, nonatomic) IBOutlet UIButton *addBtn;
@property (weak, nonatomic) IBOutlet UITextField *countTextField;


@property (weak, nonatomic) IBOutlet UIButton *selectedGoodDetailBtn;
@property (weak, nonatomic) IBOutlet UILabel *selectedGoodDetailBottomLine;
@property (weak, nonatomic) IBOutlet UIImageView *selectedGoodImage;
@property (weak, nonatomic) IBOutlet UILabel *selectedGoodLabel;


@property (weak, nonatomic) IBOutlet UITableView *specTableView;

@property (weak, nonatomic) IBOutlet UILabel *xLabel;
@property (weak, nonatomic) IBOutlet UIButton *confirmBtn;

@property (nonatomic, strong) NSString *productURL;
@property (nonatomic, strong) NSString *productNameStr;
@property (nonatomic, strong) NSString *productPriceScopeStr;
@property (nonatomic, strong) NSString *productStockCountStr;
@property (nonatomic, strong) NSString *countStr;
@property (nonatomic, strong) NSString *itemIDStr;
@property (nonatomic, strong) NSString *itemCodeStr;
 
@property (nonatomic, strong) NSString *typeString;
- (void)show;
@end
@protocol LYDPopViewControllerDelegate <NSObject>
@optional

-(void)closePop:(NSString *)countStr;

@end